<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SetNomination.ascx.cs" Inherits="Controls_Event_SetNomination" %>
<link rel="STYLESHEET" type="text/css" href="Styles/rich_calendar.css"></link>
<script type="text/javascript" src="Javascripts/rich_calendar/rich_calendar.js"></script>
<script type="text/javascript" src="Javascripts/rich_calendar/rc_lang_en.js"></script>
<script type="text/javascript" src="Javascripts/domready/domready.js"></script>
<div id="divJavascript" runat="server"></div>
<table class="general" style="height: 100%">
    <tr>
        <td style="width: 22%; vertical-align: top; border-right: solid 1px grey;">
            <table cellpadding="0" cellspacing="0">
                <tr><td><asp:Label ID="lblEventStart" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 10px;"><asp:Label ID="valEventStart" runat="server"></asp:Label><br />&nbsp;</td></tr>
                <tr><td><asp:Label ID="lblEventEnd" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 10px;"><asp:Label ID="valEventEnd" runat="server"></asp:Label></td></tr>
            </table>
        </td>
        <td class="generaltd" align="center">
            <fieldset>
                <legend><img alt="Nominate" src="Images/dj/nominate.gif" style="width:20px;" />&nbsp;Nomination:</legend>
                <table cellpadding="0" cellspacing="0" class="general">
                    <tr>
                        <td><asp:CheckBox ID="cbParticipation" runat="server" Text="Allow nomination" /></td>
                    </tr>
                    <tr>
                        <td class="pad10">
                            <table id="tabNomination" cellpadding="0" cellspacing="0" class="general" style="width: 100%">
                                <tr>
                                    <td colspan="2" style="width: 100%">
                                        <b>Start Date:</b>
                                        <asp:TextBox ID="txtParticipationStDate" CssClass="textbox textboxMan" Width="75px" runat="server" MaxLength="12"></asp:TextBox>
                                        <input id="btnShowCal" runat="server" type="button" style="background-image: url(Images/dj/cal.gif); width: 24px; height: 23px; background-color: Transparent; border: none 0px;" />
                                        <asp:RequiredFieldValidator ID="rfvParticipationStDate" runat="server" 
                                            ControlToValidate="txtParticipationStDate"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvParticipationStDate" runat="server" 
                                            ControlToValidate="txtParticipationStDate"
                                            Display="None"
                                            Type="Date"></asp:RangeValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset class="pad10">
                                            <legend>Nominee Tracking:</legend>
                                            <asp:CheckBoxList ID="cblNomineeTracking" CssClass="solid" RepeatDirection="Horizontal" runat="server" Width="100%"></asp:CheckBoxList>
                                        </fieldset>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset style="width: 98%;">
                                            <legend>Maximum Nomination Count:</legend>
                                            <table cellpadding="0" cellspacing="0" class="general">
                                                <tr>
                                                    <td class="pad10">
                                                        <asp:RadioButtonList ID="rblMaxPart" runat="server" RepeatDirection="Horizontal" Width="100%">
                                                        </asp:RadioButtonList>
                                                    </td>
                                                    <td align="right">
                                                        <asp:TextBox ID="txtMaxPartLimit" CssClass="textbox textboxMan" Width="35px" runat="server" MaxLength="5"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvMaxPartLimit" runat="server" 
                                                            ControlToValidate="txtMaxPartLimit"
                                                            EnableClientScript="true"
                                                            Display="None"></asp:RequiredFieldValidator>
                                                        <asp:RangeValidator ID="rvMaxPartLimit" runat="server" 
                                                            ControlToValidate="txtMaxPartLimit"
                                                            Display="None"
                                                            Type="Integer" ></asp:RangeValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset>
                                    </td>
                                </tr>
                                <tr id="trNomAmount" runat="server">
                                    <td colspan="2" style="width: 100%; padding-top: 5px; vertical-align: middle;"><b>Nomination Amount</b>&nbsp;&nbsp;
                                    <asp:TextBox ID="txtNomAmount" CssClass="textbox" Width="35px" runat="server" MaxLength="5" Text="0"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvNomAmount" runat="server" 
                                            ControlToValidate="txtNomAmount"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvNomAmount" runat="server" 
                                            ControlToValidate="txtNomAmount"
                                            Display="None"
                                            Type="Integer"></asp:RangeValidator>
                                        <asp:DropDownList ID="ddlCurrency" CssClass="ddl" runat="server" Width="40px" Height="23px"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding-top: 5px;">
                                        <fieldset class="pad10">
                                            <legend>File Upload:</legend>
                                            <asp:CheckBox ID="cbUpload" runat="server" CssClass="solid" Text="Allow file upload" />
                                            <asp:CheckBoxList ID="cblFileType" CssClass="solid" runat="server" Width="100%" RepeatColumns="4" RepeatLayout="Table" RepeatDirection="Horizontal">
                                            </asp:CheckBoxList>
                                        </fieldset>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </td>
    </tr>
</table>
<asp:ValidationSummary ID="vsContent" ShowMessageBox="true" ShowSummary="false" runat="server" />